package com.jams.goodox.entity;

import com.jams.goodox.net.BaseEntity;

import java.util.List;

/**
 * Created by Jin on 2016/5/23.
 * Description
 */
public class MyRedPacket extends BaseEntity {
    /**
     * pageInfo : {"curPage":1,"hasMore":false,"pageSize":20}
     * resultList : [{"community":"","exchange":"满8.00可用","money":"34.00","redPacketId":"64324d53-0770-11e6-80bd-00163e005381","redPacketType":"1","redPacketTypeName":"通用红包","serviceName":"","subCommunityId":"","validDate":"2016-04-29"}]
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * curPage : 1
         * hasMore : false
         * pageSize : 20
         */

        private PageInfoBean pageInfo;
        /**
         * community :
         * exchange : 满8.00可用
         * money : 34.00
         * redPacketId : 64324d53-0770-11e6-80bd-00163e005381
         * redPacketType : 1
         * redPacketTypeName : 通用红包
         * serviceName :
         * subCommunityId :
         * validDate : 2016-04-29
         */

        private List<ResultListBean> resultList;

        public PageInfoBean getPageInfo() {
            return pageInfo;
        }

        public void setPageInfo(PageInfoBean pageInfo) {
            this.pageInfo = pageInfo;
        }

        public List<ResultListBean> getResultList() {
            return resultList;
        }

        public void setResultList(List<ResultListBean> resultList) {
            this.resultList = resultList;
        }

        public static class PageInfoBean {
            private int curPage;
            private boolean hasMore;
            private int pageSize;

            public int getCurPage() {
                return curPage;
            }

            public void setCurPage(int curPage) {
                this.curPage = curPage;
            }

            public boolean isHasMore() {
                return hasMore;
            }

            public void setHasMore(boolean hasMore) {
                this.hasMore = hasMore;
            }

            public int getPageSize() {
                return pageSize;
            }

            public void setPageSize(int pageSize) {
                this.pageSize = pageSize;
            }
        }

        public static class ResultListBean {
            private String community;
            private String exchange;
            private String money;
            private String redPacketId;
            private String redPacketType;
            private String redPacketTypeName;
            private String serviceName;
            private String subCommunityId;
            private String validDate;

            public String getCommunity() {
                return community;
            }

            public void setCommunity(String community) {
                this.community = community;
            }

            public String getExchange() {
                return exchange;
            }

            public void setExchange(String exchange) {
                this.exchange = exchange;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getRedPacketId() {
                return redPacketId;
            }

            public void setRedPacketId(String redPacketId) {
                this.redPacketId = redPacketId;
            }

            public String getRedPacketType() {
                return redPacketType;
            }

            public void setRedPacketType(String redPacketType) {
                this.redPacketType = redPacketType;
            }

            public String getRedPacketTypeName() {
                return redPacketTypeName;
            }

            public void setRedPacketTypeName(String redPacketTypeName) {
                this.redPacketTypeName = redPacketTypeName;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public String getSubCommunityId() {
                return subCommunityId;
            }

            public void setSubCommunityId(String subCommunityId) {
                this.subCommunityId = subCommunityId;
            }

            public String getValidDate() {
                return validDate;
            }

            public void setValidDate(String validDate) {
                this.validDate = validDate;
            }
        }
    }
}
